//
//  BusinessProfileCtrl.h
//  iWeddingDirectory
//
//  Created by duong2179 on 7/27/12.
//  Copyright (c) 2012 Home. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "API.h"
#import "Post.h"
#import "PostViewController.h"

@interface BusinessProfileCtrl : UIViewController <UIScrollViewDelegate>

{
    float contentWidth;
    float contentHeight;
}

@property (nonatomic, retain) Post *post;
@property (nonatomic, assign) PostType postType;
@property (nonatomic, retain) UIImageView* imvLargeImg;
@property (nonatomic, retain) UIScrollView* scvGallery;
@property (nonatomic, retain) UIScrollView* scvMainView;
@property (nonatomic, retain) NSMutableArray* marImages;
@property (nonatomic, retain) UIView *contentView, *mainView;
@property (nonatomic, retain) UIWebView* txvDescription;

- (void)onPostReceived:(NSNotification *)notification;
- (void)loadThumbnail;
- (void)btnGalleryClicked:(id)sender;

@end
